package com.itestmini.testplatformbackend.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author moso
 * @Date 2024/12/25 22:53
 */

@Data
@Schema(name="列表查询的分页返回",description="返回结果类")
public class PageTableResponse<T> implements Serializable {

    private static final long serialVersionUID = 620421858510718076L;

    @Schema(name="共计返回数量",required=true, example = "10")
    private Integer recordsTotal;

    @Schema(name="返回结果对象",required=true)
    private List<T> data;
}
